package com.nervenets.web.hibernate.domain.ad;

import com.nervenets.web.enumeration.AdType;
import com.nervenets.web.hibernate.DomainObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;

@EqualsAndHashCode(callSuper = true)
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Ad extends DomainObject {
    private AdType adType;
    private String title;
    private String picture;
    private String url;
    private int queue;
    private boolean enable;
}
